package com.cnap.multiclouldmgmt.model.dockerHarborModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Map;
/**
 * @author dyq
 * harbor 操作model
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.dockerHarborModel.ProjectModel",description = "创建项目的信息")
public class ProjectModel {

    //project_name
    @ApiModelProperty(value = "project_name")
    private String project_name;

    //storage_limit -1表示无限制
    @ApiModelProperty(value = "storage_limit")
    private int storage_limit = -1;

    //metadata
    @ApiModelProperty(value = "metadata")
    private Map<String,String> metadata;

    /**
     * get
     *
     * @return Project_name
     */
    public String getProject_name() {
        return project_name;
    }

    /**
     * set
     *
     * @param project_name project_name
     */
    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    /**
     * get
     *
     * @return Storage_limit
     */
    public int getStorage_limit() {
        return storage_limit;
    }

    /**
     * set
     *
     * @param storage_limit storage_limit
     */
    public void setStorage_limit(int storage_limit) {
        this.storage_limit = storage_limit;
    }

    /**
     * get
     *
     * @return Metadata
     */
    public Map<String, String> getMetadata() {
        return metadata;
    }

    /**
     * set
     *
     * @param metadata metadata
     */
    public void setMetadata(Map<String, String> metadata) {
        this.metadata = metadata;
    }
}
